home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1997 February
/
EnigmA AMIGA RUN 15 (1997)(G.R. Edizioni)(IT)[!][issue 1997-02][PLANET CD V].iso
/
enigma
/
earcd
/
comm
/
comm2
/
clsplt23.rdm
< prev
next >
Wrap
Text File
|
1997-01-18
|
7KB
|
158 lines
Short: Logfile splitter for CL 5.0 (Update)
Author: dawnrazor@alcatraz.org (Ralf Ramge), nik@alcatraz.org (Nicolai Zizka)
Uploader: ramge@student.uni-kl.de (Ralf Ramge)
Type: comm/bbs
---8<--- English
SplitLog is a tool for all Connectline 5.0 owners who want to get rid of
that huge logfile in CONNECTLINE:Log/. SplitLog splits the logfile into
several smaller sublogs depending on each logentry's logid (e.g.
CONNECTLINE:Log/CLSERVER or CONNECTLINE:Log/CLMSORTIN). MUI 2.2 and WB 2.1
or higher are necessary.
Source included (MUI-Version only)
This is an update to version 2.3.
Features:
- fastest log splitting tool for Connectline 5.0
- HD friendly; the sublogs are written one after the other instead keeping
them opened until the last logentry is being written
- progress display (MUI)
- batchfile support
- locale support (even when adding log entries), english and german catalogs
are included
- ultra-faaaaaaaast Shell-only-version included (approx. 500 log entries per
second on a standard A4000T/040/25)
Changes since version 1.11:
- highly optimized data structures; the speed improvement was good enough
to add several MUI calls without wasting too much processor time
- lower memory fragmentation
- Sublogs are now saved to CONNECTLINE:Log/Sublogs/
- splitlog.batch is now executed with the name of the log backup as para-
meter and local environment variable (LOGBACKUPNAME)
- the window gets refreshed while reading the entries
- GA_Total looks much better now
- supports locale.library
- the name of the log backup is now always higher than the one of the last
one written
- LogID's are treated case insensitive. Sometimes the logentries were not
written in chronological order. (2.1)
- minor bugfix: An error message had been written twice into the log, if
memory was running low (2.2)
- major bugfix: CL-SplitLog refused working if an assign had been set to
CONNECTLINE:Log/. Thanks to Alexander Voigt (2.3)
- approx. 4 kb less memory required for stack operations
- memory allocation reduced to 10 kb
- included $VER: in CONNECTLINE:C/SplitLog <sic> (2.3b)
- recompiled with SAS/C 6.57
Installation:
Just copy the catalogs to LOCALE: and the executables to CONNECTLINE:,
according to the directory structure of the archive.
Usage:
The archive contains two executables:
CONNECTLINE:c/SplitLog: designed for usage via Cron, very fast, but without
user interface. Approx. 250% faster than the GUI
version.
CONNECTLINE:Tools/SplitLog: execute it using the SplitLog-Entry in
CL-Server's tools menu. This one features a
MUI window with several progress displays.
Both version try to execute the file CONNECTLINE:s/splitlog.batch after
finishing their work. Don't forget to set the script bit, if you use a
Shell-Script instead of an executable there. A local environment variable
called LOGBACKUPNAME contains the name of the log backup; the batch will
also be executed with the name of the backup as parameter. So it should be
easy to copy it to any place on your harddisks.
The sublogs are copied to CONNECTLINE:Log/Sublogs/ for further use.
---8<--- Deutsch
SplitLog ist ein Tool für alle Connectline 5.0-Kunden, welche das riesige
Logfile in CONNECTLINE:Log/ loswerden möchten. SplitLog splittet das
Logfile in mehrere kleinere Sublogs und richtet sich hierbei nach der LogID
des jeweiligen Eintrags /z.B. CONNECTLINE:Log/CLSERVER oder
CONNECTLINE:Log/CLMSORTIN. MUI 2.2 und WB 2.1 oder höher werden benötigt.
Source ist im Archiv enthalten (MUI-Version)
Dies ist ein Update auf Version 2.3.
Features:
- der schnellste Logsplitter für Connectline 5.0
- festplattenfreundlich; die einzelnen Sublogs werden nacheinander
angelegt, anstelle sie offen zu halten, bis der letzte Eintrag rausge-
schrieben wurde.
- Fortschrittsanzeige (MUI)
- Batchdatei-Unterstützung
- locale support (selbst wenn Logeinträge vorgenommen werden), deutsche
und englische Catalos sind im Archiv enthalten
- sauschnelle Shell-only-Version enthalten (ca. 500 Zeilen pro Sekunde
auf einem A4000T/040/25).
Changes seit Version 1.11:
- stark verbesserte Datenstruktur; der Geschwindigkeitszuwachs war hoch
genug um mehrere MUI-Aufrufe vorzunehmen, ohne zuviel Rechenzeit zu
vergeuden
- niedrige Speicherfragmentierung
- Sublogs werden nun in CONNECTLINE:Log/Sublogs/ gespeichert
- splitlog.batch wird nun mit dem Namen des Logbackups als Parameter auf-
gerufen, ebenso wird eine lokale ENV-Variable (LOGBACKUPNAME) gesetzt
- während dem Einlesen der Einträge wird das Fenster refreshed
- GA_Total ist nun um einiges hübscher
- unterstützt locale.library
- Der Name des Logbackups ist nun immer höher als der des zuletzt ge-
schriebenen
- Die Namen der LogID's werden nun case-insensitiv behandelt. Manchmal
wurden sie nicht in der korrekten chronologischen Reihenfolge rausge-
schrieben (2.1)
- kleinerer Bugfix: Bei Speichermangel wurde die entsprechende Fehlermel-
dung zweimal ins Logfile geschrieben (2.2)
- größerer Bugfix: Wenn ein Assign auf CONNECTLINE:Log/ existierte, wei-
gerte sich CL-Splitlog, korrekt zu arbeiten
- Speicherverbrauch bei Stackoperationen um 4 KB gesetzt
- Speicheralloziierung auf je 10 kb reduziert
- $VER: in CONNECTLINE:C/SplitLog eingefügt <flöt>
- Mit SAS/C 6.57 neu compiliert
Installation:
Entsprechend der Verzeichnisstruktur im Archiv die Catalogs nach LOCALE:
und die Programme nach CONNECTLINE: kopieren.
Benutzung:
Das Archiv enthält zwei Programme:
CONNECTLINE:c/SplitLog: entworfen für die Nutzung über den Cron. Sehr schnell,
aber ohne Ausgaben. Ca. 250% schneller als die GUI-
Version.
Connectline:Tools/Splitlog: Start über den SplitLog-Eintrag im Tools-Menü des
CL-Servers. Diese Version verfügt über eine MUI-
Oberfläche mit mehreren Fortschrittsanzeigen.
Beide Versionen versuchen, das File CONNECTLINE:s/splitlog.batch nach
Beendigung ihrer Arbeit zu starten. Nicht vergessen, das Skript-Bit zu
setzen, falls man hier ein Shell-Skript anstelle eines ausführbaren
Programmes verwendet. Eine lokale ENV-Variable namens LOGBACKUPNAME enthält
den Namen des Logbackups; eine Batchdatei wird ebenso mit dem Namen des
Backups als Parameter aufgerufen. Daher sollte es relativ leicht sein, das
Backup an irgendeine andere Stelle umzukopieren.
Die Sublogs werden zur weiteren Verwendung nach CONNECTLINE:Log/Sublogs/
geschrieben.